Iso15.ReadBlock
This command is deprecated. Do not use it in new code as we may remove it in the future!
For new applications please use Iso15.WriteMultipleBlocks as this command is deprecated and may be removed in future.
This command reads one or multiple blocks from a label.
This command implements the "read single block" and "read multiple blocks" optional commands from the ISO 15693-3 specification.
Properties
- Command code: 0x2105
- Command timeout: 100 ms
- Possible status codes: General status codes, Iso15.ErrParamNotSupported, Iso15.ErrCom, Iso15.ErrNoTag, Iso15.ErrCollision, Iso15.ErrHf, Iso15.ErrLabel, Iso15.ErrMem
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
BlockID | Integer (8 bits) | ID of first block to read. |
BlockNum | Integer (8 bits) |
Number of blocks to read:
|
EnBlockSec | Boolean (8 bits) | Enable/Disable BlockSecStat Byte in response frame. |
Returned values (response frame)
Name | Type/Size | Description | |||
---|---|---|---|---|---|
LabelStat | Integer (8 bits) | Status code returned from label. The following bytes will only be returned, if LabelStat is OK. | |||
Optional field, condition: LabelStat == 0x00 | |||||
BlockLen | Integer (8 bits) | Amount of bytes to read in one block. | |||
Data | Array (until end of frame) | - | |||
BlockData | Raw data (length 0 Bytes) |
Length is greater than 0! It was set to zero to provide length informationContains the actual data read from the block. |
|||
Optional field, condition: EnBlockSec | |||||
BlockSecData | Integer (8 bits) | Security status byte of the block. |